96548cac581af37fa9a645792f47cd106efcd51d,clc/modules/cluster-manager/src/main/java/com/eucalyptus/blockstorage/Snapshots.java,Snapshots,fireDeleteEvent,#Snapshot#,326
Before Change
final String userName = Accounts.lookupUserById(userId).getName();
final String accountName = Accounts.lookupAccountById(accountId).getName();
ListenerRegistry.getInstance( ).fireEvent( new StorageEvent( StorageEvent.EventType.EbsSnapshot, false, snap.getVolumeSize( ),
userId, userName, accountId, accountName,
snap.getVolumeCluster( ), snap.getVolumePartition( ) ) );
} catch ( Exception ex ) {
After Change
final String accountId = snap.getOwnerAccountNumber();
final String userName = Accounts.lookupUserById(userId).getName();
final String accountName = Accounts.lookupAccountById(accountId).getName();
final Long volSize = (snap.getVolumeSize()==null) ? null : snap.getVolumeSize().longValue()*1024;
ListenerRegistry.getInstance( ).fireEvent( new StorageEvent( StorageEvent.EventType.EbsSnapshot, false, volSize,
userId, userName, accountId, accountName,